crypto/tls.SessionState.secret (field)
12 uses
crypto/tls (current package)
handshake_client.go#L401: earlySecret = cipherSuite.extract(session.secret, nil)
handshake_client.go#L807: hs.masterSecret = hs.session.secret
handshake_client.go#L918: session.secret = hs.masterSecret
handshake_client_tls13.go#L761: session.secret = psk
handshake_server.go#L531: hs.masterSecret = hs.sessionState.secret
handshake_server.go#L809: state.secret = hs.masterSecret
handshake_server_tls13.go#L346: hs.earlySecret = hs.suite.extract(sessionState.secret, nil)
handshake_server_tls13.go#L837: state.secret = psk
ticket.go#L87: secret []byte // master secret for TLS 1.2, or the PSK for TLS 1.3
ticket.go#L118: b.AddBytes(s.secret)
ticket.go#L192: !readUint8LengthPrefixed(&s, &ss.secret) ||
ticket.go#L196: len(ss.secret) == 0 ||
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |